﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WXY.Course.DAL;
using WXY.Course.Model;

namespace WXY.Course.BLL
{
    public class ModuleBLL
    {
        public int Insert(ModuleInfo module)
        {
            return ModuleDAL.Insert(module);
        }

        public int Update(ModuleInfo module)
        {
            return ModuleDAL.Update(module);
        }

        public int Delete(int code)
        {
            return ModuleDAL.Delete(code);
        }

        public ModuleInfo Get(int code)
        {
            return ModuleDAL.Get(code);
        }

        public IList<ModuleInfo> GetList()
        {
            return ModuleDAL.GetList();
        }

        public IList<ModuleInfo> GetPageList(string name, PageParams pageParams)
        {
            return ModuleDAL.GetPageList(name, pageParams);
        }
    }
}
